import { get, post } from '@/utils/request'

export const companyList = (query) => {
  return get('/admin/enInfo/list', query)
}

export const companyAdd = (query) => {
  return post('/admin/enInfo/add', query)
}

export const companyEdit = (query) => {
  return post('/admin/enInfo/edit', query)
}

export const companyDel = (query) => {
  return get('/admin/enInfo/delete', query)
}

export const companyView = (query) => {
  return get('/admin/enInfo/queryById', query)
}

export const companyExam = (query) => {
  return post('/admin/enInfo/enExamine', query)
}

export const enableOrDisable = (query) => {
  return get('/admin/enInfo/enableOrDisable', query)
}
